﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            TOne tone = new TOne();
            tone.AbstractDo();
            tone.Do();
            Console.Read();
        }
    }

    abstract class TBase {
        public virtual void Do() { Console.WriteLine("Class:TBase" ); }
       public abstract void AbstractDo();
    }

    class TOne : TBase
    {
        public override void AbstractDo()
        {
            Console.WriteLine("Class:TOne" + ",AbstractDo");
        }
        public new void Do() {
            Console.WriteLine("Class:TOne"  + ",Do");
        }
    }

}
